package com.gzcstec.user.dataobject;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * 用户信息表
 */
@Data
@Entity
public class UserInfo {

    @Id
    /*用户id*/
    private String id;

    /*用户名*/
    private String username;

    /*登录密码*/
    private String password;

    /*微信openid*/
    private String openid;

    /*用户类型0表示买家1表示卖家*/
    private Integer userType;

    /*创建时间*/
    private Date createTime;

    /*更新时间*/
    private Date updateTime;

}
